name: Run Benchmarks

on:
  workflow_dispatch:

jobs:
  build:
    runs-on: ubuntu-latest

    env:
      python-version: '3.10'

    steps:
    - name: Checkout repository
      uses: actions/checkout@v3

    - name: Set up Python ${{ env.python-version }}
      uses: actions/setup-python@v4
      with:
        python-version: ${{ env.python-version }}

    - name: Install dependencies
      run: |
        python -m pip install --upgrade pip
        pip install -r requirements.txt

    - name: benchmark
      env:
        OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
      run: |
         python benchmark/benchmark_entrepreneur_gpt_with_undecisive_user.py
